Skip to content

Conversation

weissi
Copy link
Contributor

@weissi weissi commented Feb 20, 2020

Previously, UNIX Domain Sockets would only work if the URL also had a
"base URL". If it didn't have a base URL, it would try to connect to the
empty string which would fail :).

Now, we support both cases:

  • URLs with a baseURL (the path to the UDS) and a path (actual path)
  • URLs that just have an actual path (path to the UDS) where we'll just
    use "/" as the URL's path

@weissi weissi requested review from artemredkin and Lukasa February 20, 2020 18:33
Previously, UNIX Domain Sockets would only work if the URL also had a
"base URL". If it didn't have a base URL, it would try to connect to the
empty string which would fail :).

Now, we support both cases:
- URLs with a baseURL (the path to the UDS) and a path (actual path)
- URLs that just have an actual path (path to the UDS) where we'll just
  use "/" as the URL's path
@weissi weissi merged commit de74219 into swift-server:master Feb 24, 2020
@weissi weissi deleted the jw-fix-uds branch February 24, 2020 17:52
@weissi weissi added this to the 1.2.0 milestone Feb 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants